<?php
require_once ('../code/global.php');
require_once ('/code/Product.php');
if (isset ( $_GET ['pid'] ))
	$pid = intval ( $_GET ['pid'] );
$product = new Product ();
$product->count_view ( $pid );
?>